package com.zdy.today.activity;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import com.zdy.today.R;

import java.util.ArrayList;
import java.util.List;

import co.lujun.androidtagview.TagContainerLayout;

public class DragLayoutActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_drag_layout);
        TagContainerLayout mTagContainerLayout = (TagContainerLayout) findViewById(R.id.tagcontainerLayout);
        List<String> list=new ArrayList<>();
        list.add("tag");
        list.add("tag1");
        list.add("tag12");
        list.add("tag123");
        list.add("tag12345");
        list.add("tag12345678");
        mTagContainerLayout.setTags(list);
    }
}
